package com.ocp.socket.busi.utils.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author : zhangzh
 * @description :
 * @Date Create in 13:27 2019/3/9
 * @Modified By :
 **/
@Mapper
public interface UtilsMapper {

    int createTable(@Param("newTableName") String newTableName,@Param("oldTableName") String oldTableName);

    int addInfoPrimary(@Param("tableName") String tableName);

    List<String> getTableNameList(@Param("tablePrefix") String tablePrefix,@Param("startDate") String startDate,@Param("endDate") String endDate,@Param("dbName") String dbName);

    List<String> getTableNameListByNames(@Param("dbName") String dbName,@Param("tableName") List<String> tableName);

}
